package com.exam.api.config.validation;


import jakarta.validation.ConstraintViolation;
import jakarta.validation.ConstraintViolationException;

import java.util.Set;

/**
 * @Author Bcheng
 * @Create 2021/9/6
 * @Description <p>DefinitionValidationException</p>
 */
public class DefinitionValidationException extends ConstraintViolationException {

    public DefinitionValidationException(String message, Set<? extends ConstraintViolation<?>> constraintViolations) {
        super(message, constraintViolations);
    }

    public DefinitionValidationException(Set<? extends ConstraintViolation<?>> constraintViolations) {
        super(constraintViolations);
    }
}
